<%
    Cookie[] cookies = request.getCookies();
    boolean temp = true;
    if (null != cookies) {
        for (Cookie cookie : cookies) {
            String name = cookie.getName();
            if ("firstView".equals(name)) {
                temp = false;
                break;
            }
        }
    }

    if (temp) {
        Cookie cookie = new Cookie("firstView", "ok");
        cookie.setMaxAge(-1);
        cookie.setPath("/");
        response.addCookie(cookie);
        out.print("<script>top.window.location.href='/partner_web/95555/link/95555/index.html'</script>");
        return;
    }
%>
